#ifndef COMMON_CORE_TIMER_H
#define COMMON_CORE_TIMER_H


#define WIN32_LEAN_AND_MEAN
#include <windows.h>


class Timer
{
public:
                    Timer();
    
    void            Reset();
    bool            GetElapsedTime(double& elapsed);
    
private:
    LARGE_INTEGER   m_frequency;
    LARGE_INTEGER   m_base;
    LARGE_INTEGER   m_last;
    ULONGLONG       m_lastTick;
};


#endif
